home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000254_icurmtdude@yahoo.com_Thu Sep 4 10:16:14 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2003-11-18
|
2KB
|
60 lines
Article: 14494 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!bloom-beacon.mit.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: icurmtdude@yahoo.com (icurmt)
Newsgroups: comp.protocols.kermit.misc
Subject: missing bytes...
Date: 3 Sep 2003 18:13:05 -0700
Organization: http://groups.google.com/
Lines: 42
Message-ID: <cf6cc183.0309031713.73a00933@posting.google.com>
NNTP-Posting-Host: 24.58.29.68
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1062637986 3293 127.0.0.1 (4 Sep 2003 01:13:06 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 4 Sep 2003 01:13:06 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14494
Hi everyone,
After no luck with this issue, I thought of posting it here.. Heres
what I am trying to do..
I am sending out commands out of a file through serial port to my
application which returns me the response accordingly in return..
<code snippet...>
..
...
transmit /binary /noecho /nowait <commandsfile>
input 1 -1
.output := \fhexify(\v(input))
echo \m(output)
...
fopen /write \%c <outputfile>
..
fwrite /line \%c \m(output)
..
fclose \%c
</end>
The script works fine. The response as under is outputted to the
'outputfile'. Now when I echo the response I get
16 06 14 34 47 12 01 87
instead of
16 06 14 34 47 12 00 01 87 00 00 00
Note the difference after the 6th byte. The 7th and 8th byte which is
00 01 shows up as 01 and 10th, 11th and 12th bytes do now show up at
all. However I have had success getting bytes in the order such as
below and echoing this command works fine.
16 06 14 34 46 11 00 00 BB 10 00 00
If anyone has any idea of whats going on here then please help me.
Thanx,
Ray